<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"/>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>SECRETARIA DE SALUD :: REGISTRO DE INFORMACION</title>
    <link href="css/estilos.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="js/form.js"></script>
    <script type="text/javascript" src="js/laboratorio.js"></script>
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js"></script>
    <style type="text/css">
    <!--
    body {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
    }
    a:link {
    
            text-decoration: none;
    }
    a:visited {
            text-decoration: none;
    }
    a:hover {
            text-decoration: underline;
    }
    a:active {
            text-decoration: none;
    }
    .Estilo1 {color: #E6E7E9}
    -->
    </style>
  </head>
<body id="cuerpo">
      <div id="cabezera">
          <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                    <td height="100%" colspan="4" valign="top"><div align="center"><img src="images/top.jpg" alt="" width="750" height="102" align="baseline" /></div></td>
              </tr>
                 <tr bgcolor="" class="datos">
                     <td height="20">
                               <?PHP if ($usuario->getnPerfil() == 1) echo $nUnidad."<!--unidad: $idunidad-->"; ?>	   </td>
                   <td  align="right" colspan="3">
                              <?PHP
                             if ($usuario->getnPerfil() == 3 and $usuario->getid_sector()==1) {
                                            echo "DELEGACION: ".htmlspecialchars_decode($delegacion, ENT_NOQUOTES);
                            }else if($usuario->getnPerfil()== 3 and $usuario->getid_sector()==3) {
                                            echo "JURISDICCION: ".cambiarletras($nEntidad);
                                    }else{
                                            echo cambiarletras($nUsuario);
                                    }
                            ?> </td>
               </tr>
          </table>
      </div>
      <div id="datos">
          <table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr class="datos">
                <td height="23" width='30%'><a href="close_session.php">CERRAR SESI&Oacute;N</a></td>
                <td width='20%' align="center"><?php if($usuario->getnPerfil() != 2 and $usuario->getnPerfil() != 6) {?>
        <a href="cambio_clave.php">CAMBIAR CONTRASE&Ntilde;A</a><?php } ?>
        </td>
        <td height="23" width='30%'><div align="right"><?php echo "<a href='menu_lab.php'>";?>REGRESAR AL MENU PRINCIPAL</a></div></td>
           </tr>
          </table>
      </div>
